package com.gong.DesignPattern.MediatorPattern;

/**
 * @author GongChang
 * @version 1.0
 * @date 2021/6/30 0030 9:27
 */
public class Test {

    public static void main(String[] args) {
        User zhangsan = new User("张三");
        User lisi = new User("李四");

        zhangsan.sendMessage("我叫张三");
        lisi.sendMessage("我叫李四");
    }
}
